<?php if(!defined('IN_SYS')) exit('Access Denied'); ?>
<!DOCTYPE html>
<html>

<head>
  <title>{$pagetitle}</title>
  <meta charset='utf-8' />
  <meta name="description" content="{$description}">
  <meta name="keywords" content="{$keywords}">
  <link type="text/css" rel="stylesheet" href="/static/common/css/reset.css" />
  <link type="text/css" rel="stylesheet" href="{$templets}/style/css/nav.css" />
  <link type="text/css" rel="stylesheet" href="{$templets}/style/css/footer.css" />
  <link type="text/css" rel="stylesheet" href="{$templets}/style/css/body.css" />
  <script type="text/javascript" src="/static/common/js/jquery.js"></script>
  <script type="text/javascript" src="/static/common/js/common.js"></script>
  <script type="text/javascript" src="/static/common/js/jquery.lazyload.min.js"></script>
  <script type="text/javascript" src="/static/common/js/plus.js"></script>
  <!-- include mobile_agent -->
</head>

<body>
  <!-- include header -->
  <div class="wrap cl">
    <!-- 面包屑 -->
    {if !empty($fenlei)}
    <ul class="breadcrumb">
      <li><a href="/" title="{$yuming_website[sitename]}">{$yuming_website[sitename]}</a></li>
      <li>{$fenlei}</li>
    </ul>
    {/if}
    <div class="index_page_center fl">
      <div class="box">
        <div class="box-heading">
          <h3> {if !empty($fenlei)} {$fenlei} {else} 全部 {/if}</h3>
        </div>
        <div class="box-body">
          <ul>
            <!--foreach tag::arclist("typeid=$typeid&row=10",true) -->
            <li class="list cl">
              <div class="list_img fl">
                <a href="{$url}" target="_blank">
                             <img src="/static/common/images/nopic.png"  data-original="{$thumb}" />
                       </a>
              </div>
              <div class="list_content fl">
                <h4><a href="{$url}" target="_blank">{cut($title,45,'...')}</a></h4>
                <div class="desc">{cut($description,200,'...')}</div>
                <div class="tag">发布：admin &nbsp;&nbsp; 时间：{date('Y-m-d ',$addtime)} &nbsp;&nbsp;浏览：{$click}</div>
              </div>
            </li>
            <!-- /foreach -->
            <div class="page_link">{tag::pagelink()}</div>
          </ul>
        </div>
      </div>
    </div>
    <div class="index_page_left fr">
      <div class="box">
        <div class="box-heading">
          <h3>热门文章</h3>
        </div>
        <ul class="box_ul">
          <!-- foreach tag::arclist("orderby=click&row=10")-->
          <li>
            <p><a href="{$url}">{cut($title,30,'...')}</a></p>
            <span>浏览：{$click} &nbsp;&nbsp;时间：{date('Y-m-d ',$addtime)} </span>
          </li>
          <!-- /foreach -->
        </ul>
      </div>
      <div class="box">
        <!--标签-->
        <div class="box-heading">
          <h3>标签</h3>
        </div>
            <div class="tagcon  cl">
                <ul class="tag-list">
                    <!--foreach tag::tags(20)-->
                    <li class="tagi fl"> <a class="tagi{$__i}" href="/tags/{$id}">{$tagsname}</a> </li>
                    <!--/foreach-->
                </ul>
            </div>
      </div>
      <div class="box">
        <div class="box-heading">
          <h3>推荐文章</h3>
        </div>
        <ul class="box_ul">
          <!-- foreach tag::arclist("flag=c&row=5")-->
          <li>
            <p><a href="{$url}">{cut($title,30,'...')}</a></p>
            <span>浏览：{$click} &nbsp;&nbsp;时间：{date('Y-m-d ',$addtime)} </span>
          </li>
          <!-- /foreach -->
        </ul>
      </div>
    </div>
  </div>
  <!-- include footer -->
  <script>
    $("img").lazyload({
      effect: "fadeIn",
      threshold: 200,
      placeholder: '/static/common/images/loading.gif',
    });

  </script>
</body>
<!-- include jumpscript -->
</html>
